package com.example.springsecurity.security.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 提供一个处理器
 */
@Controller
@RequestMapping("/product")
public class ProductController {

    @RequestMapping
    @ResponseBody
    public String hello(){
        return "success";
    }
}
